<include file="Public:header"/>


<link href="__PUBLIC__/Home/css/member_style.css" rel="stylesheet" type="text/css">
        <!--/*star*/-->
<div class="member-Info">
    <div class="memInfo-side">
    <div>
        <ul>
        <li><a href="{:U('Home/Ucenter/index')}" >帐号信息</a></li>


        <li><a id="mside05" class="aon" href="{:U('Home/Forms/index')}">我的订单</a></li>

        <li><a id="mside09" href="{:U('Home/Help/index')}">帮助中心</a></li>
        </ul>
    </div>
    </div>
</div>
订单查看
               
    <div class="Location">
        <span class="s_icon"></span>
        <div class="carbox_open"></div>
    </div>
   我的订单
    <em class="favorites-menu">
        <a href="{:U('/Home/Forms/index')}" id="book01"><span>备餐中</span></a>
        <a href="{:U('/Home/Forms/Psindex')}" id="book02"><span> 配送中</span></a>
        <a href="{:U('/Home/Forms/Dpjindex')}" id="book03"><span>待评价</span></a>
        <a href="" id="book04" class="on"><span>已评价</span></a>
        <a href="{:U('/home/Forms/Qxddindex')}" id="book05"><span>已取消的订单</span></a>

    </em>
<if condition="empty($formsinfo)"><div style="height:300px;font-size:30px;margin-top:100px;text-align:center">您的订单为空!!!快去订餐吧</div><else /> 
    <div style="float:right;margin-right:350px;margin-bottom:100px">
    <foreach name="formsinfo" item="vo1">
    <div style="margin-top:20px">
        <table class="cart_table" cellpadding="0" cellspacing="0" width="100%" >
            <tbody >
                <span style="margin-left:20px">订单号:{$vo1['formnumber']}</span>
                <span style="margin-left:50px">应付款(元):{$vo1['fprice']}</span>
                <span style="margin-left:70px">下单时间:{:date("Y-m-d H:i:s",$vo1['ftime'])}</span>
                <tr>
                    <th width="80">美食名称</th>
                    <th>单价(元)</th>
                    <th >数量</th>
                    <th>优惠(元)</th>
                    <th width="80">备注</th>
                </tr>
                <foreach name="finfos" item="vo">
                    <tr>
                    <?php if ($vo['formnumber'] != $vo1['formnumber']) {
                        continue;
                            } 
                     ?>
                        <td class="ta_center fa_15">{$vo['foodsname']}</td>
                        <td class="ta_center fa_15">{$vo['foodsprice']}</td>
                        <td class="ta_center fa_15">{$vo['number']}</td>
                        <td class="ta_center"><if condition="$vo['sell'] eq 0">无优惠<else />优惠 {$vo['sell']}</if></td>
                        <td class="ta_center"><if condition="empty($vo['ask'])">无<else /> {$vo['ask']}</if></td>
                    </tr>
                </foreach>
            </tbody>
        </table>
    </div>
    </foreach>
</div>
</if>
<style type="text/css">
.m-f-name {width: 70px;  text-align: left;padding-left:30px;}
</style>

        <!--/*end*/-->
      <include file="Public:footer"/>